package cc.mrbird.common.domin;

/**
 * 接口返回的json bean
 * @Date Mar 26, 2021
 * @author cjt
 */
public class JsonBean {
	private String InterfaceName;
	private String type;
	private String dataMap;
	private String province;
	private String city;
	private String district;
	private String town;
	private String reportDate;
	private String code;
	private String msg;

	public String getInterfaceName() {
		return InterfaceName;
	}

	public void setInterfaceName(String interfaceName) {
		InterfaceName = interfaceName;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDataMap() {
		return dataMap;
	}

	public void setDataMap(String dataMap) {
		this.dataMap = dataMap != null && dataMap.length() > 2 ? dataMap.replaceAll("\\\\r", "") : null;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getTown() {
		return town;
	}

	public void setTown(String town) {
		this.town = town;
	}

	public String getReportDate() {
		return reportDate;
	}

	public void setReportDate(String reportDate) {
		this.reportDate = reportDate;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	@Override
	public String toString() {
		return "JsonBean{" + "InterfaceName='" + InterfaceName + '\'' + ", type='" + type + '\'' + ", dataMap='" + dataMap + '\'' + ", province='" + province + '\'' + ", city='" + city + '\''
				+ ", district='" + district + '\'' + ", town='" + town + '\'' + ", reportDate='" + reportDate + '\'' + ", code='" + code + '\'' + ", msg='" + msg + '\'' + '}';
	}

}